@echo off
setlocal
REM Windows 打包脚本：创建虚拟环境+PyInstaller单文件
cd /d %~dp0
if not exist venv (
  python -m venv venv
)
call venv\Scripts\activate
pip install --upgrade pip
pip install -r requirements.txt
pyinstaller --clean --noconfirm --onefile --name vgd_fight main.py
endlocal
